home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / emulator / uae-0.000 / uae-0 / uae-0.6.0 / include / xwin.h < prev   
C/C++ Source or Header  |  1996-03-26  |  922b  |  43 lines

  1.  /* 
  2.   * UAE - The Un*x Amiga Emulator
  3.   * 
  4.   * Interface to the graphics system (X, SVGAlib)
  5.   * 
  6.   * (c) 1995 Bernd Schmidt
  7.   */
  8.  
  9. typedef long int xcolnr;
  10.  
  11. extern xcolnr xcolors[4096];
  12.  
  13. extern int buttonstate[3];
  14. extern int newmousecounters;
  15. extern int lastmx, lastmy;
  16.  
  17. extern int graphics_init(void);
  18. extern void graphics_leave(void);
  19. extern void handle_events(void);
  20.  
  21. extern void flush_line(int);
  22. extern void flush_block(int, int);
  23. extern void flush_screen(int, int);
  24.  
  25. extern int debuggable(void);
  26. extern int needmousehack(void);
  27. extern void togglemouse(void);
  28. extern void LED(int);
  29.  
  30. extern unsigned long doMask(int p, int bits, int shift);
  31. extern void alloc_colors256(int (*)(int, int, int, xcolnr *));
  32. extern void alloc_colors64k(int, int, int, int, int, int);
  33.  
  34. struct vidbuf_description
  35. {
  36.     char *bufmem;
  37.     int rowbytes;
  38.     int pixbytes;
  39.     int maxblocklines;
  40. };
  41.  
  42. extern struct vidbuf_description gfxvidinfo;
  43.